const { envMatch } = require('./_util');

// const databaseConfig = {
//     HOST: envMatch('101.32.243.90', "101.32.243.90"), //数据库地址
//     USER: envMatch('canteen_develop', 'canteen_prod'),
//     PASSWORD: envMatch('rsy8cDA2K4BtG2zn', 'cnZjrAsciZdwGCkJ'),
//     DATABASE: envMatch('canteen_develop', 'canteen_prod')
// }

const databaseConfig = {
    HOST: envMatch('localhost', "101.32.243.90"), //数据库地址
    USER: envMatch('root', 'canteen_prod'),
    PASSWORD: envMatch('123456', 'cnZjrAsciZdwGCkJ'),
    DATABASE: envMatch('chayida_dev', 'canteen_prod')
}

module.exports = databaseConfig;
